#ifndef __STORMWIDGET_STORMWIDGET_UILIBRARY_CLISTLABELELEMENTUI_LISTLABELELEMENTUI_H
#define __STORMWIDGET_STORMWIDGET_UILIBRARY_CLISTLABELELEMENTUI_LISTLABELELEMENTUI_H

#include "ListElementUI.h"
#include <atlimage.h>

class CListLabelElementUI: public CListElementUI
{
public:
	CListLabelElementUI(void);
	virtual ~CListLabelElementUI(void);

	LPCTSTR GetClass() const;
	void SetWidth(int cxWidth);
	void SetTextStyle(UINT uStyle);
	void Event(TEventUI& event);
	SIZE EstimateSize(SIZE szAvailable);
	void DoPaint(HDC hDC, const RECT& rcPaint);
	void DrawItem(HDC hDC, const RECT& rcItem, UINT uStyle);
	void SetAttribute(LPCTSTR pstrName, LPCTSTR pstrValue);

protected:
	int m_cxWidth;
	UINT m_uTextStyle;
	UINT m_uButtonState;
	//void LoadProgressImg();
private:
	//HBITMAP m_hBitmap;
	//BITMAP m_BitmapInfo;
	//CImage image;
};

#endif //__STORMWIDGET_STORMWIDGET_UILIBRARY_CLISTLABELELEMENTUI_LISTLABELELEMENTUI_H
